using System;

namespace WebApplication8.Data
{
    public class StudentHomework : AuditingEntityBase
    {
        public Homework Homework { get; set; }
        public Student Student { get; set; }
        public StudentHomeworkState StudentHomeworkState { get; set; }
        public StudentHomeworkCheckState StudentHomeworkCheckState { get; set; }
    }
    public enum StudentHomeworkState
    {
        未查看,
        已查看,
        已完成,
    }
    public enum StudentHomeworkCheckState
    {
        未批改,
        已批改,
    }

    public enum StudentHomeworkDtlState
    {
        编辑,
        提交,
    }

    public enum StudentHomeworkDtlCheckState
    {
        未查看,
        已查看,
        已批改
    }
    /// <summary>
    /// 学生作业详情
    /// </summary>
    public class StudentHomeworkDtl : AuditingEntityBase
    {
        public HomeworkDtl HomeworkDtl { get; set; }
        public string Content { get; set; }
        public StudentHomework StudentHomework { get; set; }
        public StudentHomeworkDtlState StudentHomeworkDtlState { get; set; }
        public StudentHomeworkDtlCheckState StudentHomeworkDtlCheckState { get; set; }
    }
}
